package com.house.vo;

import com.house.entity.UserLogin;

public class UserLoginVo {
    private Integer id;

    private Integer userInfId;

    private String admin;



    private Integer usertype;

    private String telphone;

    private String email;

    public UserLoginVo() {
    }

    public UserLoginVo(UserLogin userLogin) {
        this.id = userLogin.getId();
        this.userInfId = userLogin.getUserInfId();
        this.admin = userLogin.getAdmin();
        this.usertype = userLogin.getUsertype();
        this.telphone = userLogin.getTelphone();
        this.email = userLogin.getEmail();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserInfId() {
        return userInfId;
    }

    public void setUserInfId(Integer userInfId) {
        this.userInfId = userInfId;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin == null ? null : admin.trim();
    }


    public Integer getUsertype() {
        return usertype;
    }

    public void getUsertype(Integer type) {
        this.usertype = type;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone == null ? null : telphone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }
}
